package com.wanghaixin.dto;

/**
 * @Auther: 王海新
 * @Date: 2020/10/22 15:30
 * @Description:
 */
public class QueryDTO {

    //http://localhost:8080/sys/menu/list?order=asc&limit=10&offset=0

    private int offset; //分页查询起始位置
    private  int limit; //每次查询多少条数据
    private  String order; //排序
    private String sort; //根据那个字段排序
    private String search; //搜索

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getSearch() {
        return search;
    }

    public void setSearch(String search) {
        this.search = search;
    }
}
